package org.ranshiyan.model;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import java.io.Serializable;

public class User implements Serializable {
    private Integer id;
    private String password;
    private String username;
    private String upddate;


    private String djsum;

    public Integer getId() {
        return id;
    }

    public String getUpddate() {
        return upddate;
    }

    public void setUpddate(String upddate) {
        this.upddate = upddate;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getDjsum() {
        return djsum;
    }

    public void setDjsum(String djsum) {
        this.djsum = djsum;
    }

    public User(Integer id, String password, String username) {
        this.id = id;
        this.password = password;
        this.username = username;
    }

    public User(Integer id, String password, String username, String djsum) {
        this.id = id;
        this.password = password;
        this.username = username;
        this.djsum = djsum;
    }

    public User(Integer id, String password, String username, String upddate, String djsum) {
        this.id = id;
        this.password = password;
        this.username = username;
        this.upddate = upddate;
        this.djsum = djsum;
    }



    public User() {
    }
}
